package com.kvest.scanrecognizer.ui.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import com.kvest.scanrecognizer.R;
import com.kvest.scanrecognizer.ui.fragment.SettingsFragment;

/**
 * Created with IntelliJ IDEA.
 * User: roman
 * Date: 11/11/13
 * Time: 7:39 PM
 * To change this template use File | Settings | File Templates.
 */
public class SettingsActivity extends BaseActivity {
    @Override
    public void onCreate(Bundle savedState) {
        super.onCreate(savedState);
        setContentView(R.layout.fragment_container);

        if (savedState == null) {
            FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
            try {
                transaction.add(R.id.container, new SettingsFragment());
            } finally {
                transaction.commit();
            }
        }
    }
}
